// Copyright 2012 Christoffer Anselm (DaDummy).
//
// This file is part of OpenMYP.
//
// OpenMYP is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// OpenMYP is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with OpenMyp.  If not, see <http://www.gnu.org/licenses/>.
//

#ifndef OPENMYP_OPENMYP_H_
#define OPENMYP_OPENMYP_H_

#include "config.h"


#ifdef _MSC_VER
#	define _CRT_SECURE_NO_WARNINGS
#endif

#ifdef _WIN32
#	define WIN32_LEAN_AND_MEAN
#endif


#include <stdint.h>

#include <boost/detail/endian.hpp>


#ifdef BOOST_LITTLE_ENDIAN
#	define OPENMYP_LITTLE_ENDIAN
#endif
#ifdef BOOST_BIG_ENDIAN
#	define OPENMYP_BIG_ENDIAN
#endif

// A macro to disallow the copy constructor and operator= functions
// This should be used in the private: declarations for a class
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
	TypeName(const TypeName&);             \
	void operator=(const TypeName&)

#endif // OPENMYP_OPENMYP_H_